[new release] opam-monorepo (0.3.0) #21264
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Assemble and manage fully vendored Dune repositories
CHANGES:
Added
x-opam-monorepo-opam-repositories
andx-opam-monorepo-global-opam-vars
to makelock
fully reproducible.(Allow running a reproducible lock tarides/opam-monorepo#250, Fix explicit repo solver tarides/opam-monorepo#253, @NathanReb)
the requested version constraint in the user's OPAM file (Incorrect error message if attempting to lock a version that doesn't exist tarides/opam-monorepo#215, Better missing version error tarides/opam-monorepo#248, Relax ocaml compiler warning to allow ocaml-variants tarides/opam-monorepo#290
@Leonidas-from-XIV)
opam-monorepo
. To control this a new optional Opam file field,x-opam-monorepo-opam-provided
is introduced. Its value is a list of packagenames that are to be excluded from being pulled (Allow marking certain packages as "installed via OPAM" tarides/opam-monorepo#234, @Leonidas-from-XIV)
the OCaml version of the switch (Check the compiler version when pulling tarides/opam-monorepo#267, Check OCaml version of lockfile against the switch version tarides/opam-monorepo#268, @Leonidas-from-XIV)
duniverse/README.md
file to explain the basics ofopam-monorepo
in the vendored directory (Generate documentation in theduniverse/
folder tarides/opam-monorepo#272, Write a README.md when pulling a project tarides/opam-monorepo#274, @Leonidas-from-XIV)--prefer-cross-compile
flag for the solver to select cross-compilingversions of packages when available. This is determined through the presence
of the
"cross-compile"
tag in the opam metadata.Changed
vendor
variable sousing OPAM with
opam install --deps-only --locked .
will not installpackages that will be installed with
opam-monorepo pull
(Vendor variable in lockfile tarides/opam-monorepo#237,@Leonidas-from-XIV)
Fixed
would be reported has having no version building with dune. (Only find candidates that can't be built if there is no solution tarides/opam-monorepo#245, @Leonidas-from-XIV)
forced to by version constraints or
--ocaml-version
. (Prevent unecessary selection of beta versions tarides/opam-monorepo#269, @NathanReb)Removed